name = 'python is good a object'
i = 0
for x in name:
    if x == 'o':
        i += 1


print(f"字母o一共出现了{i}次")